package xin.marcher.wind.process.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.springframework.stereotype.Repository;
import xin.marcher.framework.mybatis.dao.BaseDAO;
import xin.marcher.wind.process.domain.entity.TradePlatformBizProcessArrangeDO;
import xin.marcher.wind.process.mapper.TradePlatformBizProcessArrangeMapper;

import java.util.List;

/**
 * <p>
 * 交易平台商家流程编排表 DAO
 * </p>
 *
 * 
 */
@Repository
public class TradePlatformBizProcessArrangeDAO extends BaseDAO<TradePlatformBizProcessArrangeMapper, TradePlatformBizProcessArrangeDO> {

    public List<TradePlatformBizProcessArrangeDO> listByBizId(String bizId) {
        LambdaQueryWrapper<TradePlatformBizProcessArrangeDO> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper
                .eq(TradePlatformBizProcessArrangeDO::getBizId, bizId);
        return list(queryWrapper);
    }

}
